package it.polimi.travelDreamEJB.basicproductmanagement.dto;

import it.polimi.travelDreamEJB.defaultpacketmanagement.dto.DefaultPacketDTO;
import it.polimi.travelDreamEJB.personalizedpacketmanagement.dto.PersonalizedPacketDTO;

import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

public class HotelDTO {

	@NotNull
	private int id;
	
	@NotEmpty
	private String destination;

	@NotEmpty
	private String info;

	@NotEmpty
	private String name;

	@NotNull
	private int price;

	@NotNull
	private int stars;
	
	private List<DefaultPacketDTO> hotelOfDefaultPacket;
	
	private List<PersonalizedPacketDTO> hotelOfPersonalizedPacket;
	
	public HotelDTO() {
		hotelOfDefaultPacket = new ArrayList<DefaultPacketDTO>();
		hotelOfPersonalizedPacket = new ArrayList<PersonalizedPacketDTO>();
	}
	
	public List<PersonalizedPacketDTO> getHotelOfPersonalizedPacket() {
		return hotelOfPersonalizedPacket;
	}

	public void setHotelOfPersonalizedPacket(
			List<PersonalizedPacketDTO> hotelOfPersonalizedPacket) {
		this.hotelOfPersonalizedPacket = hotelOfPersonalizedPacket;
	}

	public List<DefaultPacketDTO> getHotelOfDefaultPacket() {
		return hotelOfDefaultPacket;
	}

	public void setHotelOfDefaultPacket(List<DefaultPacketDTO> hotelOfDefaultPacket) {
		this.hotelOfDefaultPacket = hotelOfDefaultPacket;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getStars() {
		return stars;
	}

	public void setStars(int stars) {
		this.stars = stars;
	}
	
}
